package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文献节选信息表实例类
 *
 * @author zhangyaowen
 * @date 2021/10/28 16:51
 */
@ApiModel
@TableName("sub_document_excerpts")
@Data
@EqualsAndHashCode(callSuper = true)
public class DocumentExcerpts extends BaseEntity {

    /**
     * 节选文献id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    @TableField("excerpts_title")
    private String excerptsTitle;

    /**
     * 时期
     */
    @ApiModelProperty("时期")
    @TableField("excerpts_second")
    private String excerptsSecond;

    /**
     * 类别
     */
    @ApiModelProperty("类别")
    @TableField("excerpts_third")
    private String excerptsThird;

    /**
     * 文献名称
     */
    @ApiModelProperty("文献名称")
    @TableField("excerpts_doc")
    private String excerptsDoc;

    /**
     * 文献节选所在卷
     */
    @ApiModelProperty("文献节选所在卷")
    @TableField("excerpts_location")
    private String excerptsLocation;

    /**
     * 文献节选来源
     */
    @ApiModelProperty("文献节选来源")
    @TableField("excerpts_from")
    private String excerptsFrom;

    /**
     * 文献节选
     */
    @ApiModelProperty("文献节选")
    @TableField("excerpts_info")
    private String excerptsInfo;

    /**
     * 来源志书
     */
    @ApiModelProperty("来源志书")
    @TableField("doc_annalsfrom")
    private String docAnnalsfrom;

    /**
     * 来源志书页码
     */
    @ApiModelProperty("来源志书页码")
    @TableField("doc_annalspage")
    private String docAnnalspage;

    /**
     * 相关河道
     */
    @ApiModelProperty("相关河道")
    @TableField("xg_river")
    private String xgRiver;

    /**
     * 相关城镇
     */
    @ApiModelProperty("相关城镇")
    @TableField("xg_town")
    private String xgTown;

    /**
     * 相关人物
     */
    @ApiModelProperty("相关人物")
    @TableField("xg_figure")
    private String xgFigure;


}